const memberRouter = {
  path: 'member_manage',
  name: 'MemberManage',
  component: () => import('@/views/user/index.vue'),
  meta: { title: '会员管理' },
  redirect: '/user/member_manage/member_list',
  children: [
    {
      path: 'member_list',
      name: 'MemberList',
      component: () => import('@/views/user/member-list/index'),
      meta: { title: '会员管理', noCache: true }
    },
    {
      path: 'member_info',
      name: 'MemberInfo',
      hidden: true,
      component: () => import('@/views/user/member-list/member-info'),
      meta: { title: '会员信息', noCache: true }
    },
    {
      path: 'member_integral',
      name: 'MemberIntegral',
      hidden: true,
      component: () => import('@/views/user/member-list/member-integral'),
      meta: { title: '积分明细', noCache: true }
    },
    {
      path: 'member_integral_convert',
      name: 'MemberIntegralConvert',
      hidden: true,
      component: () => import('@/views/user/member-list/member-integral-convert'),
      meta: { title: '积分兑换明细', noCache: true }
    }
  ]
}

export default memberRouter
